package com.sasken.pdb.controllers.events 
{
	import com.sasken.pdb.models.data.ScheduleItem;
	
	public class ScheduleSliderEvent extends ObjectEvent
	{
		public static var SLIDE_EVENT:String="slideEvent";
		
		//private var schedEventObject:ScheduleSliderEventObject;
		private var _oldObject:ScheduleItem;
		private var _newObject:ScheduleItem;
		
		public function ScheduleSliderEvent(type:String, oldObject:ScheduleItem, newObject:ScheduleItem, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, _oldObject, bubbles, cancelable);
			_oldObject = oldObject;
			_newObject = newObject;
		}
		
		public function get oldScheduleItem():ScheduleItem
		{
			return _oldObject;
		}
		
		public function get newScheduleItem():ScheduleItem
		{
			return _newObject;
		}
		
	}
}